package com.Maykk.Demo01;

public class AnimalTest {
    public static void main(String[] args) {
        System.out.println(Animal.TYPE);
        System.out.println("---------------------------------");


        Cat cat = new Cat();
        cat.eat();
        cat.sleep();
        cat.sport();
        System.out.println("---------------------------------");


        Dog dog = new Dog();
        dog.eat();
        dog.sleep();
        dog.sport();
        System.out.println("---------------------------------");


        Teacher teacher = new Teacher();
        teacher.eat();
        teacher.sleep();
        teacher.sport();
        teacher.MethodAbs();
        System.out.println("=====================================");


        Teacher.MethodSta();
        System.out.println("======================================");
    }

}
